package intranet.client;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * @author Robin TROADEC
 * La partie client du RPC model de templateTabFunc.
 */
@RemoteServiceRelativePath("templatesServlet")
public interface TemplatesTabFunc extends RemoteService {

	
	String saveDoc(String name, String textHtml, long date, String path)throws IllegalArgumentException;
	
	String toPdf(String name, String textHtml, long date, String path)throws IllegalArgumentException;
	
	Boolean delete(String path);
	String load(String path);

	Boolean deletePdf(String path);
	
}
